package com.lovestudying.service;

import com.lovestudying.entity.Video;
import com.lovestudying.util.PageInfo;

public interface VideoService {
	/**
	 * 根据课程Id查询video信息
	 * 
	 * @param courseId
	 * @return
	 */
	PageInfo<Video> getVideosByCourseId(String courseId);

	/**
	 * 根据课程Id ，排序，分页查询方式查询video信息
	 * 
	 * @param courseId
	 * @param orderBy
	 * @param pageSize
	 * @param pageNum
	 * @return
	 */
	PageInfo<Video> getVideosByCourseId(String courseId, String orderBy, String desc, Integer pageSize,
			Integer pageNum);

	Boolean addVideo(String getUUID, String videoTitle, String courseUuid, String string);

}
